package com.zking.ssm.He.service;

import com.zking.ssm.He.model.Category;
import com.zking.ssm.util.PageBean;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface ICategoryService {

    int deleteByPrimaryKey(Short id);

    int insert(Category record);

    int insertSelective(Category record);

    Category selectByPrimaryKey(Short id);

    int updateByPrimaryKeySelective(Category record);

    int updateByPrimaryKey(Category record);

    List<Category>list(Category record, PageBean pageBean);

}
